package myky.com.doctorapp.entity;

import java.util.List;

public class BannerEntity {
    /**
     * type : 212
     * payLoad : {"advertList":[{"advertid":15,"title":"banner1","abs":"中医六大法规 奠定抗癌成功路","resType":0,"eventType":0,"position":0,"resource":["b268848c9bf37fdd39c4ba2061efcf66"],"url":"http://zhongliu.bjyft.cn/","doctorId":0,"smallMark":0,"state":0,"createtime":"2017-06-28 01:31:50"},{"advertid":16,"title":"banner1","abs":"中医六大法规 奠定抗癌成功路","resType":0,"eventType":0,"position":0,"resource":["427aaea33d2d0787d5c41d5a9bca0411"],"url":"http://zhongliu.bjyft.cn/","doctorId":0,"smallMark":0,"state":0,"createtime":"2017-06-28 01:31:50"}]}
     */

    private int type;
    private PayLoadBean payLoad;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public PayLoadBean getPayLoad() {
        return payLoad;
    }

    public void setPayLoad(PayLoadBean payLoad) {
        this.payLoad = payLoad;
    }

    public static class PayLoadBean {
        private List<AdvertListBean> advertList;

        public List<AdvertListBean> getAdvertList() {
            return advertList;
        }

        public void setAdvertList(List<AdvertListBean> advertList) {
            this.advertList = advertList;
        }

        public static class AdvertListBean {
            /**
             * advertid : 15
             * title : banner1
             * abs : 中医六大法规 奠定抗癌成功路
             * resType : 0
             * eventType : 0
             * position : 0
             * resource : ["b268848c9bf37fdd39c4ba2061efcf66"]
             * url : http://zhongliu.bjyft.cn/
             * doctorId : 0
             * smallMark : 0
             * state : 0
             * createtime : 2017-06-28 01:31:50
             */

            private int advertid;
            private String title;
            private String abs;
            private int resType;
            private int eventType;
            private int position;
            private String url;
            private int doctorId;
            private int smallMark;
            private int state;
            private String createtime;
            private List<String> resource;

            public int getAdvertid() {
                return advertid;
            }

            public void setAdvertid(int advertid) {
                this.advertid = advertid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAbs() {
                return abs;
            }

            public void setAbs(String abs) {
                this.abs = abs;
            }

            public int getResType() {
                return resType;
            }

            public void setResType(int resType) {
                this.resType = resType;
            }

            public int getEventType() {
                return eventType;
            }

            public void setEventType(int eventType) {
                this.eventType = eventType;
            }

            public int getPosition() {
                return position;
            }

            public void setPosition(int position) {
                this.position = position;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getDoctorId() {
                return doctorId;
            }

            public void setDoctorId(int doctorId) {
                this.doctorId = doctorId;
            }

            public int getSmallMark() {
                return smallMark;
            }

            public void setSmallMark(int smallMark) {
                this.smallMark = smallMark;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public List<String> getResource() {
                return resource;
            }

            public void setResource(List<String> resource) {
                this.resource = resource;
            }
        }
    }
}
